kamailio-5.x: improve module selection
authorSebastian Kemper <[email protected]>
Sat, 3 Feb 2018 12:56:25 +0000 (13:56 +0100)
committerSebastian Kemper <[email protected]>
Sat, 3 Feb 2018 12:57:38 +0000 (13:57 +0100)
commit706ea18d8c91ab3bc9ebffb6ea38f1766ab48a92
tree22c76368ca2c11a03feba437029507875dfc5396
parent07bcdd9fa76f6019542cdb55af127743c1f6239a
kamailio-5.x: improve module selection

Currently INCL_MODULES is filled with all modules. This commit changes
this so that only the modules that are selected are added to it.

To further limit the number of modules built group_include="standard" is
added. This way only the modules of the standard group plus the modules
selected in menuconfig are built. The "standard" group only includes
modules without any depends.

This fixes build failures on targets where not all depends are
available, i.e. postgresql on ARC. Now these modules can be properly
prevented from being built.

Signed-off-by: Sebastian Kemper <[email protected]>
net/kamailio-5.x/Makefile